package stu.xjtu.physical.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import stu.xjtu.physical.model.domain.OxygenInfo;
import stu.xjtu.physical.mapper.OxygenInfoMapper;
import stu.xjtu.physical.service.OxygenInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lsong
 * @since 2024-03-31
 */
@Service
public class OxygenInfoServiceImpl extends ServiceImpl<OxygenInfoMapper, OxygenInfo> implements OxygenInfoService {

    @Override
    public List<OxygenInfo> getByFamliyId(Long id) {
        QueryWrapper<OxygenInfo> query = new QueryWrapper<>();
        List<OxygenInfo> list = list(query);
        return list;
    }
}
